package demo8;

public class Employee {
    public interface EmployeeManager {
        /**
         * 根据id查询员工
         * @param id
         * @return
         */
        public Employee getEmployeeById(int id);

        /**
         *
         * @param employee
         */
        public void addEmployee(Employee employee);

        /**
         *
         * @param employee
         * @return
         */
        public boolean updateEmployee(Employee employee);

        /**
         *
         * @param id
         * @return
         */
        public boolean deleteEmployee(int id);
    }
}
